package com.huabo.contract.oracle.mapper;

import com.hbfk.util.PageInfo;
import com.huabo.contract.oracle.entity.TblCyhwEconomiccontract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huabo
 * @since 2022-04-08
 */
public interface TblCyhwEconomiccontractMapper extends BaseMapper<TblCyhwEconomiccontract> {

    @SelectProvider(method="findListByPageInfo",type=TblCyhwEconomiccontractMapperSqlConfig.class)
    List<TblCyhwEconomiccontract> findListByPageInfo(PageInfo<TblCyhwEconomiccontract> pageInfo, BigDecimal orgid);

    @SelectProvider(method="findListByPageInfoCount",type=TblCyhwEconomiccontractMapperSqlConfig.class)
    Integer findListByPageInfoCount(BigDecimal orgid);

    @SelectProvider(method="findListByPage",type=TblCyhwEconomiccontractMapperSqlConfig.class)
    List<TblCyhwEconomiccontract> findListByPage(PageInfo<TblCyhwEconomiccontract> pageInfo, String userid, BigDecimal orgid);

    @SelectProvider(method="findListByPageCount",type=TblCyhwEconomiccontractMapperSqlConfig.class)
    Integer findListByPageCount(String userid, BigDecimal orgid);
}
